Skip to content

test(phel): pin element-wise compare for seqs and throwing compare for unequal sets and maps - #27

Merged
Chemaclass merged 1 commit into
mainfrom
phel-compare-seqs-elementwise
Oct 7, 2026
Merged

Chemaclass merged 1 commit into
mainfrom
phel-compare-seqs-elementwise

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

Phel now compares any sequential seq element-wise, so (compare (range 5) (range 5)) is 0 instead of 1, and two unequal sets or maps throw as in Clojure. Pins both in the :phel branch of compare.cljc. Matches phel-lang/phel-lang#3555.

@Chemaclass
Chemaclass merged commit 75f03dc into main Oct 7, 2026
3 of 4 checks passed
@Chemaclass
Chemaclass deleted the phel-compare-seqs-elementwise branch October 7, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant